import moduleCart from '@/store/cart.js';
import moduleUser from '@/store/user.js';

// #ifndef VUE3
import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);

const store2 = new Vuex.Store({
	modules: {
		'm_cart': moduleCart,
		'm_user': moduleUser,
	},
});

export {store2};
// #endif

// #ifdef VUE3
import {createStore} from 'vuex';

const store3 = createStore({
	modules: {
		'm_cart': moduleCart,
		'm_user': moduleUser,
	},
});

export {store3};
// #endif